
function showTable() {
	alert('showtable!');
jQuery("#list2").jqGrid({ 
				url: 'jsonlist',
				datatype:"json", 
				colNames:['id', 'name','name2', 'name3'], 
				colModel:[ 
						{name:'id',index:'id', width:55}, 
						{name:'name',index:'name', width:90, sortable:true}, 
						{name:'name2',index:'name2 asc', width:100},
						{name:'name3',index:'name3 asc', width:200}
						], 
				rowNum:2, 
				rowList:[2,4,6], 
				imgpath: "${resource(dir:'images', file:'')}", 
				pager: jQuery('#pager2'), 
				sortname: 'id', 
				viewrecords: true, 
				sortorder: "desc", 
				caption:"JSON Example" 
				}).navGrid('#pager2',{edit:false,add:true,del:false}); 
}
